home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 06 - 1990 / 06.07 Jul 90 / Commando Programming ƒ / Rezscripts / RezC.FREF.Cmdo.R < prev    next >
Encoding:
Text File  |  1988-07-29  |  1.2 KB  |  52 lines  |  [TEXT/MPS ]

  1. /* File RezC.FREF.Cmdo.R */
  2. /* Rez input for the Rezc.FREF Commando interface */
  3. /* W. Powell 1988 */
  4.  
  5. /* Rez definitions for Rez-building Commando interfaces */
  6. #include "Cmdo.R"
  7.  
  8. Resource 'cmdo' (200) {
  9.     { 240,
  10.     "Rezc.FREF produces Rez input for a File Ref resource"
  11.     " for Finder icons.",
  12.     {
  13. /* This include file has a standard arrangement of items
  14.  *   common to all resources: ID#, attributes, name, 
  15.  *      and redirection of output from the Rezc.≈ script        */
  16. #include "CmdoReztStart.R"
  17.  
  18.     /* Item 6 */
  19.     OR {{1}}, RegularEntry {
  20.         "File Type",
  21.         {80,60,96,120},
  22.         {80,125,96,175},
  23.         "",keepCase,"",
  24.         "File type for this icon (4 characters)" },
  25.     /* Item 7 */
  26.     OR {{1}}, RegularEntry {
  27.         "Icon Local ID",
  28.         {80,275,96,365},
  29.         {80,370,96,420},
  30.         "",keepCase,"",
  31.         "Local ID, as defined in BNDL resource, of the "
  32.         "ICN# resource for the file." },
  33.     /* Item 8 */
  34.     OR {{1}}, RegularEntry {
  35.         "File Name",
  36.         {110,30,126,100},
  37.         {110,105,126,450},
  38.         "",keepCase,"-file",
  39.         "Particular file name using this icon (optional)" },
  40.     /* Item 9 */
  41.     AND {{6,7}}, DoItButton {}, 
  42.     }, 
  43. /* Dialog 2 */
  44. /* Include the standard resource attributes dialog */
  45. #include "CmdoReztAttr.R"
  46.  
  47. /* Dialog 3 */
  48. /* Include a redirection dialog */
  49. #include "CmdoReztRdir.R"
  50.  
  51. }
  52. };